#include <iostream>
#include <string.h>

using namespace std;

int main ()
{
	char* p = (char*)0xFFFFFFFFFFFFFFFF;
	intptr_t p1 = 0xFFFFFFFFFFFFFFFF;
	intptr_t p2 = -1;
	cout << p1+1 << endl;
	cout << ((intptr_t)p) +1 << endl;
	if ( p == (char*)p2 )
	{
		cout << "yes" << endl;
	}
	cout << static_cast<const void *>(p) << endl;
	cout << static_cast<const void *>((char*)p1) << endl;
	//memset (p, 0xFF, 8);
	return 0;
}
